package java_new_project;

public class HelloWorld {
    public static void main(String[] args){
//        int[] num = {1,2,3,4,5,6,7,8,9,10};
//        int sum = 0;
//        for(int a : num){
//            sum += a;
//        }
//        System.out.println(sum);


        String str = "abcdefg";
        String[] words = str.split(" ");
        for(String word : words){
            System.out.println(word);
        }


    }
}
